/*

FileNode.h
for holding record of each file
linked downwards to to node of same type
and linked rightwards to node of word type
copyright (c) psych0der

*/
#include <string>
#include <iostream>
using namespace std;

class StringNode;  // forward declaration

class FileNode
{
	
private:
	string name;
	string location;
	
public:
	StringNode *rightptr;
	FileNode *downptr;
	
	FileNode(string,string );
	
	string getFileName();
	
	string getLocation();

	int assignStringList(StringNode *);
	
	
	int assignFileNode(FileNode *);

};